<?php     

echo form_open(current_url()); ?>
<?php echo $custom_error; ?>
<?php echo form_hidden('ma_mau',$result->ma_mau) ?>

                                    <p><label for="ten_mau">Ten_mau<span class="required">*</span></label>                                
                                    <input id="ten_mau" type="text" name="ten_mau" value="<?php echo $result->ten_mau ?>"  />
                                    <?php echo form_error('ten_mau','<div>','</div>'); ?>
                                    </p>
                                    
<p>
        <?php echo form_submit( 'submit', 'Submit'); ?>
</p>

<?php echo form_close(); ?>
